import {EntityId, PageQueryParams} from "kf-web-library";

export interface PayConfigPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
}

export interface PayConfig {
  id: EntityId; //主键
  sqbTerminalSn: string; //收钱吧终端号
  sqbTerminalKey: string; //收钱吧终端密钥
  sqbTerminalUpdateTime: string; //收钱吧终端更新时间
  notifyUrl: string; //回调地址
  createTime: string; //创建时间
  createUserId: number; //${column.comment}
  modifyTime: string; //修改时间
  modifyUserId: number; //${column.comment}
}

export interface PayConfig_Create{
  sqbTerminalSn: string; //收钱吧终端号
  sqbTerminalKey: string; //收钱吧终端密钥
  sqbTerminalUpdateTime: string; //收钱吧终端更新时间
  notifyUrl: string; //回调地址
}



export interface PayConfig_Modify extends PayConfig_Create {
  id: EntityId;
}

export interface PayConfig_Patch extends Partial<PayConfig_Modify> {
  id: EntityId;
}

